﻿namespace NetCore8Demo.Models.Param
{
    public class ParamInfo
    {
        public string LabelName="";
        public ParamType ParamType = ParamType.TextBox;
        public string OldValue = "";
        public string NewValue = "";
        public List<string> ValueList = new ();

        public ParamInfo()
        {
           
        }

        public ParamInfo(string labelName)
        {
            LabelName = labelName;
        }

        public ParamInfo(string labelName,string oldValue)
        {
            LabelName = labelName;
            OldValue = oldValue;
        }

    }

    public enum ParamType
    {
        TextBox,
        ComboBox,
        YesOrNo,
    }
}
